package com.gopay.common.domain.rcs;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 纠纷原因
 * @RcsDisputeOrderReason.java
 * @author mz
 * @Mar 6, 2014 5:01:48 PM  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "RCS_DISPUTE_ORDER_REASON")
public class RcsDisputeOrderReason extends BaseEntity{

	private static final long serialVersionUID = 5157235256109913855L;
	
	
	/**
	 * 序号
	 */
    @Id
    @SequenceGenerator(name = "RcsDisputeOrderReasonSequence", sequenceName = "RCS_DISPUTE_ORDER_REASON_SEQ")
    @GeneratedValue(generator = "RcsDisputeOrderReasonSequence", strategy = GenerationType.SEQUENCE)
    @Column(name="SQ", nullable=false, unique=true)
	private int SQ;
	
    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    private Date created;

    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    private Date lastUpdTs;
    
    
    /**
     * 备注
     */
    @Column(name = "REMARK")
    private String remark;
    
    
    /**
     * 原因
     */
    @Column(name = "REASON")
    private String reason;
    
    
    /**
     * 是否删除
     */
    @Column(name = "IS_DELETE", nullable = false, precision = 1, scale = 0)
    private boolean del;


	public int getSQ() {
		return SQ;
	}


	public void setSQ(int sQ) {
		SQ = sQ;
	}


	public Date getCreated() {
		return created;
	}


	public void setCreated(Date created) {
		this.created = created;
	}


	public Date getLastUpdTs() {
		return lastUpdTs;
	}


	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getReason() {
		return reason;
	}


	public void setReason(String reason) {
		this.reason = reason;
	}


	public boolean isDel() {
		return del;
	}


	public void setDel(boolean del) {
		this.del = del;
	}

	

	

}
